package com.smartum.mpr.shared;

import java.io.Serializable;

/**
 * Java bean contains necessary information related to the user model.
 * <p/>
 * In addition contains <code>message</code> placeholder for transfer of the message to the UI.
 */
public class User implements Serializable {
    private String name;
    private Long id;
    private String token;
    private String message;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
